function t(r, n) {
    if (r === n) return !0;
    if (r && n && "object" == (void 0 === r ? "undefined" : e(r)) && "object" == (void 0 === n ? "undefined" : e(n))) {
        var o, i, f, u = Array.isArray(r), y = Array.isArray(n);
        if (u && y) {
            if ((i = r.length) != n.length) return !1;
            for (o = i; 0 != o--; ) if (!t(r[o], n[o])) return !1;
            return !0;
        }
        if (u != y) return !1;
        var c = r instanceof Date, l = n instanceof Date;
        if (c != l) return !1;
        if (c && l) return r.getTime() == n.getTime();
        var a = r instanceof RegExp, s = n instanceof RegExp;
        if (a != s) return !1;
        if (a && s) return r.toString() == n.toString();
        var b = Object.keys(r);
        if ((i = b.length) !== Object.keys(n).length) return !1;
        for (o = i; 0 != o--; ) if (!Object.prototype.hasOwnProperty.call(n, b[o])) return !1;
        for (o = i; 0 != o--; ) if (f = b[o], !t(r[f], n[f])) return !1;
        return !0;
    }
    return r !== r && n !== n;
}

var r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) {
    return typeof t;
} : function(t) {
    return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
}, e = "function" == typeof Symbol && "symbol" == r(Symbol.iterator) ? function(t) {
    return void 0 === t ? "undefined" : r(t);
} : function(t) {
    return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : void 0 === t ? "undefined" : r(t);
};

module.exports = {
    isValidUrl: function(t) {
        return /(ht|f)tp(s?):\/\/([^ \\/]*\.)+[^ \\/]*(:[0-9]+)?\/?/.test(t);
    },
    equal: t
};